package com.zmm.study.car.dao;

import com.zmm.study.car.pojo.Customer;
import com.zmm.study.car.vo.CustomerQuery;

import java.util.List;

/**
 * description
 * name CustomerDao
 *
 * @author Zebulon
 * @date by 2022-05-06 16:36:02
 */
public interface CustomerDao {

    int deleteByPrimaryKey(Long id);

    int insert(Customer record);

    int insertSelective(Customer record);

    Customer selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Customer record);

    int updateByPrimaryKey(Customer record);

    List<Customer> selectSelective(CustomerQuery customerQuery);

    Customer selectByIdCard(String idCard);
}
